package com.ruoyi.stuclient.domain;

import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.ruoyi.common.core.annotation.Excel;
import io.swagger.v3.oas.annotations.media.Schema;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.util.Date;

/**
 * 课后作业对象 ewc_homework
 *
 * @author lcj
 * @date 2025-02-28
 */
@Data
@TableName("ewc_homework")
@Schema(description="课后作业对象ewc_homework")
public class EwcHomework implements Serializable{

private static final long serialVersionUID = 1L;


    /** 作业唯一标识 */
    @Schema(description  = "作业唯一标识")
    private String id;

    /** 班级 id */
    @Excel(name = "班级 id")
    @Schema(description  = "班级 id")
    private String classId;

    /** 课程 id */
    @Excel(name = "课程 id")
    @Schema(description  = "课程 id")
    private String courseId;

    @Excel(name = "老师 id")
    @Schema(description  = "老师 id")
    private String teacherId;

    /** 章节唯一标识 */
    @Excel(name = "章节唯一标识")
    @Schema(description  = "章节唯一标识")
    private String chapterUniqueId;

    /** 模块资源唯一标识 */
    @Excel(name = "模块资源唯一标识")
    @Schema(description  = "模块资源唯一标识")
    private String moduleResourceUniqueId;

    /** 模块代码 */
    @Excel(name = "模块代码")
    @Schema(description  = "模块代码")
    private String moduleCode;

    /** 上课时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Excel(name = "上课时间", width = 30, dateFormat = "yyyy-MM-dd")
    @Schema(description  = "上课时间")
    private Date classTime;
    /** 创建时间 */
    @JsonFormat(timezone = "GMT+8",pattern = "yyyy-MM-dd HH:mm:ss")
    @DateTimeFormat(pattern="yyyy-MM-dd HH:mm:ss")
    @Schema(description = "创建时间")
    private Date createTime;




}
